package com.oocl.o2o.client.util;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class ConfigBaseUtil {
	private static Properties properties;
	static{
		properties = new Properties();
		try {
			properties.load(ConfigBaseUtil.class.getClassLoader().getResourceAsStream("configC.properties"));
		} catch (FileNotFoundException e) {
			
			e.printStackTrace();
		} catch (IOException e) {
			
			e.printStackTrace();
		}
	}
	
	public static String getPropertiesInfo(String key){
		return properties.getProperty(key);
		
	}
}
